<script setup></script>

<template>
  <header class="login-header">
    <div class="container">
      <img
        src="@/assets/images/logo.svg"
        style="width: 4.375rem; height: 4.375rem; margin-bottom: 1.875rem; margin-left: 2.5rem"
        alt="logo"
      />

      <!---占位符传递题目-->
      <h3 class="sub"><slot /></h3>
    </div>
  </header>
</template>

<style scoped lang="scss">
.login-header {
  background: #fff;
  border-bottom: 0.0625rem solid #e4e4e4;
  .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }
  .logo {
    width: 12.5rem;
    a {
      display: block;
      height: 8.25rem;
      width: 100%;
      text-indent: -624.9375rem;
      background: url(~@/assets/images/logo.png) no-repeat center 1.125rem / contain;
    }
  }
  .sub {
    flex: 1;
    font-size: 2.8125rem;
    font-weight: normal;
    margin-bottom: 2.5rem;
    margin-left: 1.25rem;
    color: #666;
    font-family: 华文行楷;
    text-shadow: 0 0.0625rem #666;
  }
  .entry {
    width: 7.5rem;
    margin-bottom: 2.375rem;
    font-size: 1rem;
    i {
      font-size: 0.875rem;
      color: #27ba9b;
      letter-spacing: -0.3125rem;
    }
  }
}
</style>
